<?php

declare(strict_types=1);

namespace App\Corp\Model;

use Base\Model\AbstractModel;

/**
 * @property int $id
 * @property string $name 企业名称
 * @property string $wx_corpid 企业微信ID
 * @property string $social_code 企业代码(企业统一社会信用代码)
 * @property string $employee_secret 企业通讯录secret
 * @property string $event_callback 事件回调地址
 * @property string $contact_secret 企业外部联系人secret
 * @property string $token 回调token
 * @property string $encoding_aes_key 回调消息加密串
 * @property int $corp_id 企业Id
 * @property string $tenant_id 租户ID
 * @property int $create_user 创建人
 * @property int $create_dept 创建部门
 * @property string $create_time 创建时间
 * @property int $update_user 修改人
 * @property string $update_time 修改时间
 * @property int $status 状态
 * @property int $is_deleted 是否已删除
 */
class Corp extends AbstractModel
{
    use \Hyperf\Database\Model\Concerns\CamelCase;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'qxm_corp';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'corp_id' => 'integer', 'create_user' => 'integer', 'create_dept' => 'integer', 'update_user' => 'integer', 'status' => 'integer', 'is_deleted' => 'integer'];
}
